package com.wisezone.workflow.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.wisezone.common.bean.entity.BaseEntity;

/**
 * 活动实例用户对象
 * 
 * @author tss 2009-09-05
 * 
 */
@Entity
@Table(name = "wf_activity_inst_user")
public class WfActivityInstUser extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 170127417722020322L;

	/**
	 * ID
	 */
	private Long id;

	/**
	 * 流程实例Id
	 */
	@Column(name = "process_inst_id", length = 8)
	private Long processInstId;

	/**
	 * 活动实例ID
	 */
	@Column(name = "activity_inst_id", length = 8)
	private Long activityInstId;

	/**
	 * 用户ID
	 */
	@Column(name = "user_id", length = 8)
	private Long userId;

	/**
	 * 用户组ID
	 */
	private Long userGroupId;

	/**
	 * 备注
	 */
	@Column(name = "memo", length = 100)
	private String memo;
	
	/**
	 * 删除状态
	 */
	private Integer delState = 1;

	public Long getProcessInstId() {
		return processInstId;
	}

	public void setProcessInstId(Long processInstId) {
		this.processInstId = processInstId;
	}

	public Long getActivityInstId() {
		return activityInstId;
	}

	public void setActivityInstId(Long activityInstId) {
		this.activityInstId = activityInstId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getUserGroupId() {
		return userGroupId;
	}

	public void setUserGroupId(Long userGroupId) {
		this.userGroupId = userGroupId;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	@Override
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getDelState() {
		return delState;
	}

	public void setDelState(Integer delState) {
		this.delState = delState;
	}
	


	

}